#!/bin/bash 
echo ======= stop the sys application =======
PID=$(ps -ef|grep database-backup.jar | grep -v grep | awk '{ print $2 }')
if [ -z "$PID" ] 
then 
  echo Application is already stopped 
else 
  echo kill $PID 
  kill $PID 
fi
